package com.zjitc.chapter07.factory;

import com.zjitc.chapter07.domain.Bean2;

public class MyBean2Factory {
    public static Bean2 createBean2() {
        System.out.println("Bean2 工厂方法被执行了");
        return new Bean2();
    }
}
